<template>
    <div>
        <h1>home组件</h1>
        <hr>
        <router-link to="/home/goods">商品</router-link> | 
        <router-link to="/home/news">新闻</router-link>
        <hr>
        <router-view></router-view>
    </div>
</template>

<script>
import Goods from '@/components/Goods.vue'
import News from '@/components/News.vue'


export default {
    props: {

    },
    components: {
        Goods,
        News
    },
    data() {
        return {

        }
    },
    methods: {

    }
}
</script>

<style>

</style>